package edu.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import edu.dto.OrdersItemDto;
import edu.support.base.BaseDomain;

import java.util.List;

/**
 * 订单
 *
 * @date 17:43
 */
public class Orders extends BaseDomain {

    /**
     * 用户
     */
    private Long userId;


    /**
     * 备注
     */
    private String remark;


    /**
     * 总金额
     */
    private Double money;


    /**
     * 用户
     */
    private String username;

    /**
     * 联系方式
     */
    private String phone;

    /**
     * 待发货
     * 已发货
     * 已取消
     */
    private String status;

    /**
     * 评价
     */
    private String comment;

    @TableField(exist = false)
    private List<OrdersItemDto> itemList;

    public List<OrdersItemDto> getItemList() {
        return itemList;
    }

    public void setItemList(List<OrdersItemDto> itemList) {
        this.itemList = itemList;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }


    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
